-
Home
-
Jetpack Boost – Website Speed, Performance and Critical CSS
-
1.9.0
-
Code
-
Classes
- Wpcom_Products
Total Complexity |
22 |
Dependencies |
4 |
Dependents |
10 |
Total lines |
214 |
Lines of code |
113 |
Logical lines of code |
58 |
Comment lines |
70 |
Methods |
8 |
Properties |
0 |
Methods 8
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_products() |
S |
57 |
6 |
19 |
get_products_from_wpcom() |
S |
48 |
3 |
36 |
populate_with_discount() |
S |
58 |
4 |
15 |
get_product_pricing() |
S |
54 |
3 |
23 |
is_cache_old() |
S |
67 |
2 |
7 |
get_product() |
S |
71 |
2 |
6 |
update_cache() |
S |
74 |
1 |
4 |
get_products_from_cache() |
S |
78 |
1 |
3 |